package com.stlm2.dems.dao;

import com.stlm2.dems.entity.ServiceOrder;
import com.stlm2.core.base.BaseDao;

import java.util.List;

public interface ServiceOrderDao extends BaseDao<ServiceOrder> {


    List<ServiceOrder> findEntityByUserID(Integer userId);
    //取消订单购买的增值服务
    public  void updateState(String goodsOrderCode);
    List<ServiceOrder> getByGoodsOrderCode(String goodsOrderCode);

    public Integer countByPurchaseOrderCode(String purchaseOrderCode);

    public Integer countByShopOrderCode(String shopOrderCode);

    public Integer countByGoodsOrderCode(String goodsOrderCode);
}